package com.study.Service;

import com.github.pagehelper.PageInfo;
import com.study.Entity.Category;

import java.util.List;

public interface CategoryService {
    List<Category> getAllCategory();

    void deleteCategory(String categoryId);

    void updateCategory(Category category);

    void addCategory(Category category);

    PageInfo<Category> getCategoryList(Integer pageNum, Integer pageSize, String categoryName);
}
